{extend name="public/edit" /}

{block name="content"}
<div class="layui-form-item">
    <label class="layui-form-label">上级id</label>
    <div class="layui-input-block">
        <select name="agency_classify_pid" lay-filter="aihao">
                    <option value="0">顶级分类</option>
                    {volist name="cate" id="vo"}
                    <option value="{$vo['id']}">{$vo['agency_classify_title']}</option>
                    {/volist}
               
        </select>
    </div>
</div>

<div class="layui-form-item">
    <label class="layui-form-label">分类</label>
    <div class="layui-input-block">
        <select name="agency_classify_type" lay-filter="aihao">
                    {volist name="arr" id="vo" key="k"}
                    <option value="{$k-1}">{$vo}</option>
                    {/volist}
               
        </select>
    </div>
</div>

<div class="layui-form-item">
    <label class="layui-form-label">模板名称</label>
    <div class="layui-input-block">
        <input type="text" name="agency_classify_title" value="" lay-verify="required" placeholder="点此请输入名称" autocomplete="off"
            class="layui-input">
    </div>
</div>

<div class="layui-form-item">
    <label class="layui-form-label">模板</label>
    <div class="layui-input-block">
        <input type="text" name="agency_classify_module" value="" lay-verify="required" placeholder="点此请输入模板" autocomplete="off"
            class="layui-input">
    </div>
</div>


<div class="layui-form-item">
    <label class="layui-form-label">url</label>
    <div class="layui-input-block">
        <input type="text" name="agency_classify_url" value="" lay-verify="required" placeholder="点此请输入url" autocomplete="off"
            class="layui-input">
    </div>
</div>
<div class="layui-form-item">
    <label class="layui-form-label">是否显示</label>
    <div class="layui-input-block">
        <input type="radio" name="agency_classify_is_show" value="1" lay-verify="required"  autocomplete="off" checked title="是" 
            class="layui-input">
        <input type="radio" name="agency_classify_is_show" value="0" lay-verify="required"  autocomplete="off" title="否" 
            class="layui-input">   
    </div>
</div>
<div class="layui-form-item">
    <label class="layui-form-label">排序</label>
    <div class="layui-input-block">
        <input type="text" name="agency_classify_sort" value="" lay-verify="required" 
            autocomplete="off" class="layui-input">
    </div>
</div>

{/block}

{block name="script"}
<script>
    views.verify(false).get();
</script>
{/block}